package com.qf.shiro.base.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.time.Duration;

@Component
@ConfigurationProperties("jwt")
@Data
public class JwtUtilsProperties {
    private String iss;
    /**
     * 单位毫秒
     */
    private Duration expiration;
    private String secretKey;
}
